let str='Hello ECMAScript 2015';
let r1=str.startsWith('Hello');
console.log(r1);
let r2=str.endsWith('2016');
console.log(r2);

console.log('y'.repeat(5));
console.log('Hello'.repeat(2));